package com.m1905.lib.download.listener;

/**
 * @author wanghao
 * @date 2022/8/11.
 * @des
 */
public interface RequestTaskListener {

    void onWaiting(boolean insert);

    void onStart();

    void onFileSize(long total);

    void onLoading(long total, long current, long speed);

    void onSuccess();

    void onFailure(int code, String message);

    void onCancel();

    void onDelete();

}
